use axum::Json;
use http::HeaderMap;
use serde_json::Value;

// 下单
pub async fn place_order(header:HeaderMap, serial_no:&str, data:Value ) -> Result<Value, Json<Value>>{
    let url = "/v3/pay/transactions/h5";
    let rs = super::place_order(header, url, serial_no, data ).await?;
    Ok(rs)
}